


<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org"
	  xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
	<head>
    	<meta charset="utf-8">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>校企合作信息平台</title>

		<!-- Import google fonts - Heading first/ text second -->
        <!--
        	<link rel='stylesheet' type='text/css' href='http://fonts.useso.com/css?family=Open+Sans:400,700|Droid+Sans:400,700' />
        -->
        <!--[if lt IE 9]>
<link href="http://fonts.useso.com/css?family=Open+Sans:400" rel="stylesheet" type="text/css" />
<link href="http://fonts.useso.com/css?family=Open+Sans:700" rel="stylesheet" type="text/css" />
<link href="http://fonts.useso.com/css?family=Droid+Sans:400" rel="stylesheet" type="text/css" />
<link href="http://fonts.useso.com/css?family=Droid+Sans:700" rel="stylesheet" type="text/css" />
<![endif]-->

		<!-- Favicon and touch icons -->


	    <!-- Css files -->
	    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
		<link th:href="@{/css/jquery.mmenu.css}" rel="stylesheet">
		<link th:href="@{/css/font-awesome.min.css}" rel="stylesheet">
		<link th:href="@{/plugins/jquery-ui/css/jquery-ui-1.10.4.min.css}" rel="stylesheet">
	    <link th:href="@{/css/style.min.css}" rel="stylesheet">
		<link th:href="@{/css/add-ons.min.css}" rel="stylesheet">
		<link th:href="@{/plugins/layui/css/layui.css}" rel="stylesheet">

	    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	    <!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
		<style>
			.error{
				color:red;
			}
		</style>
	</head>
</head>

<body>

<!-- start: JavaScript-->




<script th:src="@{/js/jquery-2.1.1.min.js}"></script>


<script th:src="@{/js/jquery-migrate-1.2.1.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/jquery.form.js}"></script>
<script th:src="@{/js/jquery.validate.min.js}"></script>
<script th:src="@{/js/messages_zh.js}"></script>

<!-- page scripts -->
<script th:src="@{/plugins/jquery-ui/js/jquery-ui-1.10.4.min.js}"></script>
<script th:src="@{/plugins/datatables/js/jquery.dataTables.min.js}"></script>
<script th:src="@{/plugins/datatables/js/dataTables.bootstrap.min.js}"></script>

<!-- theme scripts -->
<script th:src="@{/js/SmoothScroll.js}"></script>
<script th:src="@{/js/jquery.mmenu.min.js}"></script>
<script th:src="@{/js/core.min.js}"></script>
<script th:src="@{/plugins/layui/layui.js}"></script>
<script th:src="@{/js/echarts.js}"></script>

<script>

	//加载layui中的组件layer和layedit
    layui.use(['layer'], function(){
        var layer = layui.layer


        //do something
    });



    //下拉框校验不为空  -1为空
    $.validator.addMethod("isNotSelectNull", function(value, element) {

        return this.optional(element) || value!=-1;
    }, "下拉框不能为请选择");



    <!-- 模态通用JS -->
    function layerOpen(content){


        layer.open({
            type:2,

            title: false,
            area: ['800px', '520px'],
            maxmin: false,
            closeBtn: 1,
            fix: false, //不固定
            shadeClose: true,
            shade: 0.8,
            scrollbar: false,
            content: content
        });
    }
    <!-- 时间日期通用 -->
    function setDatePicker(paraId){
        $(paraId).datepicker({//添加日期选择功能
            closeText: '关闭',
            prevText: '上月',
            nextText: '下月',
            currentText: '今天',
            monthNames: ['一月','二月','三月','四月','五月','六月',
                '七月','八月','九月','十月','十一月','十二月'],
            monthNamesShort: ['一','二','三','四','五','六',
                '七','八','九','十','十一','十二'],
            dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
            dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
            dayNamesMin: ['日','一','二','三','四','五','六'],
            weekHeader: '周',
            dateFormat: 'yy-mm-dd',
            firstDay: 1,
            isRTL: false,
            showMonthAfterYear: true,
            yearSuffix: '年'

        });
    }


</script>
	<!-- start: Header -->
	<div class="navbar" role="navigation">

		<div class="container-fluid">



	        <ul class="nav navbar-nav navbar-right">



				<li class="dropdown visible-md visible-lg">
	        		<a href="#" class="dropdown-toggle" data-toggle="dropdown" th:text="${'你好，'+session.userInfo.department.department+''+session.userInfo.name}"><img class="user-avatar" >你好，管理员</a>

	      		</li>
				<li><a th:href="@{/logout}"><i class="fa fa-power-off"></i></a></li>
			</ul>

		</div>

	</div>
	<!-- end: Header -->

	<div class="container-fluid content">

		<div class="row">

			<!-- start: Main Menu -->
			<div class="sidebar ">

				<div class="sidebar-collapse">
					<div class="sidebar-header t-center">
                        <span><img class="text-logo" th:src="@{../img/logo.png}"></span>
                    </div>
					<div class="sidebar-menu">
						<ul class="nav nav-sidebar">
							<li><a th:href="@{../infoManage/indexTotal}"><i class="fa fa-home"></i><span class="text">校企合作信息平台</span></a>

							</li>
							<li>
								<a href="#"><i class="fa fa-building"></i><span class="text">企业信息</span> <span class="fa fa-angle-down pull-right"></span></a>
								<ul class="nav sub">
									<li><a th:href="@{../workInfo/queryWorkInfo}"><i class="fa fa-building"></i><span class="text"> 企业信息管理</span></a></li>
									<li><a th:href="@{../workInfo/toWorkInfoAdd}"><i class="fa fa-pencil"></i><span class="text"> 添加企业信息</span></a></li>
								</ul>
							</li>
							<li>
								<a href="#"><i class="fa fa-tasks"></i><span class="text">企业实践</span> <span class="fa fa-angle-down pull-right"></span></a>
								<ul class="nav sub">
									<li><a th:href="@{../practiceManageInfo/queryPracticeManageInfo}"><i class="fa fa-tasks"></i><span class="text"> 企业实践管理</span></a></li>
									<li><a th:href="@{../practiceManageInfo/toPracticeManageInfoAdd}"><i class="fa fa-pencil"></i><span class="text"> 添加企业实践</span></a></li>
								</ul>
							</li>
                            <li>
                                <a href="#"><i class="fa fa-building"></i><span class="text">统计分析</span> <span class="fa fa-angle-down pull-right"></span></a>
                                <ul class="nav sub">
                                    <li><a th:href="@{../workInfo/workInfoStatistics}"><i class="fa fa-building"></i><span class="text"> 企业信息统计</span></a></li>
                                    <li><a th:href="@{../practiceManageInfo/practiceManageInfoStatistics}"><i class="fa fa-pencil"></i><span class="text"> 企业实践统计</span></a></li>
                                </ul>
                            </li>
							<li th:if="${session.userInfo.departmentid==11}">
								<a href="#"><i class="fa fa-edit"></i><span class="text">信息发布</span> <span class="fa fa-angle-down pull-right"></span></a>
								<ul class="nav sub">
									<li><a th:href="@{../infoManage/queryInfoManage}"><i class="fa fa-edit"></i><span class="text"> 信息发布管理</span></a></li>
									<li><a th:href="@{../infoManage/toInfoManageAdd}"><i class="fa fa-pencil"></i><span class="text"> 发布信息</span></a></li>
								</ul>
							</li>

							<li th:if="${session.userInfo.departmentid==11}">
								<a href="#"><i class="fa fa-suitcase"></i><span class="text">政策文件</span> <span class="fa fa-angle-down pull-right"></span></a>
								<ul class="nav sub">
									<li><a th:href="@{../infoManage/policyDocument}"><i class="fa fa-suitcase"></i><span class="text"> 政策文件管理</span></a></li>
									<li><a th:href="@{../infoManage/toPolicyDocumentAdd}"><i class="fa fa-pencil"></i><span class="text"> 添加政策文件</span></a></li>
								</ul>
							</li>

							<li th:if="${session.userInfo.departmentid==11}">
								<a href="#"><i class="fa fa-sitemap"></i><span class="text">校企活动</span> <span class="fa fa-angle-down pull-right"></span></a>
								<ul class="nav sub">
									<li><a th:href="@{../infoManage/schoolEnterpriseActivities}"><i class="fa fa-sitemap"></i><span class="text"> 校企活动管理</span></a></li>
									<li><a th:href="@{../infoManage/toSchoolEnterpriseActivitiesAdd}"><i class="fa fa-pencil"></i><span class="text"> 添加校企活动</span></a></li>
								</ul>
							</li>



							<li th:if="${session.userInfo.departmentid==11}">
								<a href="#"><i class="fa fa-user"></i><span class="text">用户管理</span> <span class="fa fa-angle-down pull-right"></span></a>
								<ul class="nav sub">
									<li><a th:href="@{../userInfo/queryUserInfo}"><i class="fa fa-user"></i><span class="text"> 用户信息管理</span></a></li>
									<li><a th:href="@{../userInfo/toUserInfoAdd}"><i class="fa fa-plus"></i><span class="text"> 添加用户</span></a></li>
								</ul>
							</li>


						</ul>
					</div>
				</div>
				<div class="sidebar-footer">

					<div class="sidebar-brand">

					</div>

					<ul class="sidebar-terms">
						<!--<li><a href="index.html#">Terms</a></li>
						<li><a href="index.html#">Privacy</a></li>
						<li><a href="index.html#">Help</a></li>
						<li><a href="index.html#">About</a></li>-->
					</ul>

					<div class="copyright text-center">
						<!--
						<small>Proton <i class="fa fa-coffee"></i> from <a href="http://www.cssmoban.com/" title="" target="_blank"></a></small>
						-->
					</div>
				</div>

			</div>
			<!-- end: Main Menu -->

			<div layout:fragment="content"></div>

		<br><br><br>





	</div><!--/container-->


	<div class="modal fade" id="myModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">Modal title</h4>
				</div>
				<div class="modal-body">
					<p>Here settings can be configured...</p>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
					<button type="button" class="btn btn-primary">Save changes</button>
				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->

	<div class="clearfix"></div>




	<!-- inline scripts related to this page -->
	<!--
    	作者：xiaolei-zhl@163.com
    	时间：2016-12-05
    	描述：
    	<script src="__PUBLIC__/js/pages/table.js"></script>
    -->

	<!-- end: JavaScript-->

</body>
</html>